<template>
    <div>
        <div class="dashboardbox">
            <div class="titbox">今日参与问卷人数</div>
            <div style="display: flex;align-items: center;justify-content: center;margin: 30px 0;">
                <div class="todaytit">今日人数</div>
                <div class="todaynum">
                    <div class="flex_end">{{today_wj_people_total||0}}<p style="font-size: 23px;">人</p>
                    </div>
                </div>
            </div>
            <div class="listbox">
                <div class="listitem" v-for="(item,index) in list" :key="index">
                    <div style="width: 56%;text-align: right;padding: 0 2%;">{{item.name.nickname}}</div>
                    <div class="listnum">{{item.value||0}}</div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name: "boxtwo",
    props: {
        list: {
            type: Array,
            defulat: []
        },
        option: {
            type: Object,
            defulat: {}
        },
        today_wj_people_total: {
            type: Number,
            defulat: 0
        }
    },
    data() {
        return {

        }
    },

    methods: {

    }

};
</script>

<style scoped>
.dashboard-charts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}
.dashboard-chart {
    box-sizing: border-box;
    width: 100%;
    /* min-width: 49%; */
    /* padding: 20px; */
    height: 500px;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    /*  box-shadow: 0px 0px 0px 0px rgba(150, 150, 150, 0.35);
	    box-shadow: 0px 0px 4px 0px rgba(150, 150, 150, 0.35); */
}
.dashboardbox {
    /* display: flex;
		align-items: center; */
    width: 98%;
    margin: 0px auto 0 auto;
    height: 47rem;
    /* margin-top: 0.8rem; */
    padding: 0.6rem 0rem;
    /* background-image: url("~@/assets/img/43.png");
		background-size: 100% 100%; */
    background-color: #fff;
    /* font-size: 1.6rem; */
    color: #23cefd;
}
.titbox {
    width: 24rem;
    height: 2.3rem;
    margin: 10px 0;
    /* background-image: url("~@/assets/image/tit.png");
    background-size: 100% 100%; */
    font-size: 1.2rem;
    padding: 0 0.6rem;
    margin: 0 0 0 1rem;
    /* font-family: Source Han Sans CN;
    font-weight: 400;
    color: #23cefd;
    line-height: 2.3rem; */
    font-size: 1.8rem;
    font-family: Source Han Sans CN;
    font-weight: bold;
    color: #222222;
}
.todaynum {
    height: 10rem;
    width: 31.1rem;
    margin: 10px 0;
    background: #f1f9ff;
    border: 1px solid #006bf1;
    box-sizing: border-box;
    padding: 0 32px 0 47px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5.4rem;
    font-family: Source Han Sans CN;
    font-weight: bold;
    color: #006bf1;
}
.todaynum p {
    line-height: 1em;
}
.flex_end {
    display: flex;
    justify-content: center;
    align-items: end;
}
.todaytit {
    /* font-size: 30px;
    font-family: Source Han Sans CN;
    font-weight: bold;
    color: #2ca7f3; */
    font-size: 2.9rem;
    font-family: Source Han Sans CN;
    font-weight: 400;
    color: #222222;
    margin-right: 30px;
}
.listbox {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
}
.listitem {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-family: Source Han Sans CN;
    font-weight: 400;
    color: #000;
    height: 35px;
}
.listnum {
    width: 40%;
    text-align: center;
}
</style>
